import { Button, Flex } from "antd";
import "./App.css";
import app from "./service/app";

function App() {

  const onClickReset = async () => {
    await app.updateApp()
  }

  return (
    <Flex vertical={true} gap={10}>
      <Flex vertical={false} gap={10}>
        <Button onClick={onClickReset} type={"primary"}>重启</Button>
      </Flex>
    </Flex>
  );
}

export default App;
